{extend name="public/base"}

{block name="title"}
合伙人团队
{/block}

{block name="style"}
{css href="/static/wechat/css/index.css" /}
{/block}

{block name="body"}
<div class="pageControl team">
    <div class="msui_nav msui_navTop">
        <a class="msui_navTop-back" href="javascript:history.back();"><i class="micon-back"></i></a>
        <h1 class="msui_navTop-title">合伙人团队</h1>
    </div>
    <div class="weui-panel weui-panel_access">
        <div class="weui-panel__bd">
            <div class="weui-media-box weui-media-box_text">
                <h4 class="weui-media-box__title">{$data.region.region_name}</h4>
                <p class="weui-media-box__desc">{$data.level}级合伙人</p>
            </div>
        </div>
    </div>
    <div class="weui-cells">
        <div class="msui_cells-title fs075 cl-6666">团队成员</div>
        {volist name="data.partners" id="vo"}
        <a href="{:url('partner_info', ['id' => $vo['id']])}">
            <div class="msui_table msui_tableCom">
                <div class="msui_tabCell-img msui_tableImg-circle">
                    <img src="{$vo.headimgurl|get_img_url}">
                </div>
                <div class="msui_tabCell-content">
                    <p class="weui-flex fs085 cl-3333">
                        <span>{$vo.proposer}</span>
                        {eq name="vo.sex" value="1"} <i class="micon-team"></i> {/eq}
                        {eq name="vo.sex" value="2"} <i class="micon-teamWoman"></i> {/eq}
                    </p>
                    <p class="fs08 cl-9999">加入时间:{$vo.audit_time|date="Y年m月d日", ###}</p>
                </div>
                {eq name="vo.member_id" value="$data.member_id"}
                <i class="micon-me"></i>
                {/eq}
            </div>
        </a>

        {/volist}
    </div>
    <div class="weui-cells">
        <div class="msui_cells-title fs075 cl-6666">下级团队成员</div>
        {volist name="junior_data" id="vo"}
        <a href="{:url('partner_info', ['id' => $vo['id']])}">
            <div class="msui_table msui_tableCom">
                <div class="msui_tabCell-img msui_tableImg-circle">
                    <img src="{$vo.headimgurl|get_img_url}">
                </div>
                <div class="msui_tabCell-content">
                    <p class="weui-flex fs085 cl-3333">
                        <span>{$vo.proposer}</span>
                        {eq name="vo.sex" value="1"} <i class="micon-team"></i> {/eq}
                        {eq name="vo.sex" value="2"} <i class="micon-teamWoman"></i> {/eq}
                    </p>
                    <p class="fs08 cl-9999">加入时间:{$vo.audit_time|date="Y年m月d日", ###}</p>
                </div>
            </div>
        </a>
        {/volist}
    </div>
</div>
{/block}
{block name="javascript"}

{/block}